package seta.minecredit;

public class ReminderLoop extends Thread  {

	Files Filer;
	
	public ReminderLoop(Files filer) {
		Filer = filer;
	}

	public void run(){
		while(MineCredit.doloop == true){
			try {
				Thread.sleep(60000*60*Integer.parseInt(Filer.getConfKey("remindtime")));
				Filer.remind();
			} catch (InterruptedException ie){
				ie.printStackTrace();
			}
		}
	}
	
}
